package com.example.hl.gobang.model;

import android.graphics.Point;

import java.util.List;

/**
 * Created by My Family on 2018/6/19.
 */

public class RoomBean{
    private String appKey;
    private String tableName;
    private String objectId;
    private String action;

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getObjectId() {
        return objectId;
    }

    public void setObjectId(String objectId) {
        this.objectId = objectId;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }



    public class DataBean {
        public String getCreatedAt() {
            return createdAt;
        }

        public void setCreatedAt(String createdAt) {
            this.createdAt = createdAt;
        }

        public boolean isGameOver() {
            return mIsGameOver;
        }

        public void setGameOver(boolean gameOver) {
            mIsGameOver = gameOver;
        }

        public boolean isWhite() {
            return mIsWhite;
        }

        public void setWhite(boolean white) {
            mIsWhite = white;
        }

        public boolean isWhiteWinner() {
            return mIsWhiteWinner;
        }

        public void setWhiteWinner(boolean whiteWinner) {
            mIsWhiteWinner = whiteWinner;
        }

        public String getObjectId() {
            return objectId;
        }

        public void setObjectId(String objectId) {
            this.objectId = objectId;
        }

        public int getRoomid() {
            return roomid;
        }

        public void setRoomid(int roomid) {
            this.roomid = roomid;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getUpdatedAt() {
            return updatedAt;
        }

        public void setUpdatedAt(String updatedAt) {
            this.updatedAt = updatedAt;
        }

        public int getWho() {
            return who;
        }

        public void setWho(int who) {
            this.who = who;
        }

        public List<Point> getBlackArray() {
            return mBlackArray;
        }

        public void setBlackArray(List<Point> blackArray) {
            mBlackArray = blackArray;
        }

        public List<Point> getWhiteArray() {
            return mWhiteArray;
        }

        public void setWhiteArray(List<Point> whiteArray) {
            mWhiteArray = whiteArray;
        }

        private String createdAt;
        private boolean mIsGameOver;
        private boolean mIsWhite;
        private boolean mIsWhiteWinner;
        private String objectId;
        private int roomid;
        private int status;
        private String updatedAt;
        private int who;
        private List<Point> mBlackArray;
        private List<Point> mWhiteArray;
    }
}
